<jsp:include page="../../common/header.jsp" />
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
                    <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">                    
      <div id="content-header"> 
		  <h1>Student Details</h1>
		  <h3>View Details</h3>
		  <div id="app-back-button">							
		    <a onclick="history.back(); return false;" href="#"><button class="btn btn-primary btn-lg" type="button">Back</button></a>
		  </div>		  
		 <hr>
		</div>
		
			
		
		<div class="table-responsive col-lg-8">
                                <table class="table table-hover">
                                   <thead>
                                        <tr>
                                            <th><span>Name</span></th>
                                            <th><span>Description</span></th>
                                            <th colspan="3" style="text-align: center;"><span>Action</span></th>                                            
                                        </tr>
                                    </thead>
                                    <tbody>
                                   <c:forEach var="bookCategories" items="${bookCategoriesList}">
                                        <tr>
                                            <td>${bookCategories.name}</td>
                                            <td>${bookCategories.description}</td>
                                            <td></td>
                                            <td></td>
                                            <td>
                                            <a href="<%=request.getContextPath() %>/createBookCategory.htm"><button class="btn btn-primary btn-xs" type="button">Add</button></a>
                                            <a href="<%=request.getContextPath() %>/editBookCategory.htm?id=${bookCategories.id}"><button class="btn btn-primary btn-xs" type="button">Edit</button></a>
                                            <a href="<%=request.getContextPath() %>/deleteBookCategory.htm?id=${bookCategories.id}"><button class="btn btn-danger btn-xs" type="button">Delete</button></a>
                                            </td>
                                        </tr>
									   </c:forEach>
                                   </tbody>
                                </table>
                            </div> 
               
                </div>
                
                <!-- /.col-lg-12 -->
            </div>
        </div>
        <!-- /#page-wrapper -->
<jsp:include page="../../common/footer.jsp" />



